package com.jia.entity;

import com.baomidou.mybatisplus.annotation.FieldFill;
import com.baomidou.mybatisplus.annotation.TableField;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.EqualsAndHashCode;

import java.io.Serializable;
import java.time.LocalDateTime;

/**
 * <p>
 * 
 * </p>
 *
 * @author 杜佳佳
 * @since 2021-05-30
 */
@Data
@EqualsAndHashCode(callSuper = false)
@ApiModel(value="ChatFriendApply对象", description="")
public class ChatFriendApply implements Serializable {

    private static final long serialVersionUID = 1L;

    @ApiModelProperty(value = "好友申请表id")
    private String id;

    @ApiModelProperty(value = "发送者id")
    private String fromId;

    @ApiModelProperty(value = "接收者id")
    private String toId;

    @ApiModelProperty(value = "申请说明")
    private String remark;

    @ApiModelProperty(value = "状态0待处理1同意2拒绝")
    private Integer status;

    @ApiModelProperty(value = "创建时间")
    @TableField(fill = FieldFill.INSERT)
    private LocalDateTime createTime;

    @ApiModelProperty(value = "更新时间")
    @TableField(fill = FieldFill.INSERT_UPDATE)
    private LocalDateTime updateTime;


}
